<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的推优项目</title>
		<meta name="renderer" content="webkit">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8" />
		<link rel="stylesheet" type="text/css" href="../commonCss/common.css" />
		<link rel="stylesheet" type="text/css" href="declaredProject.css" />
	</head>

	<script id="projectItemTpl" type="text/html">
		<tr>
			<td>{{d.applicant.name}}</td>
			<td><a href="#" class="lookApplyInfo" data-id="{{d.id}}">{{d.project.projectName}}</a></td>
			<td>{{d.project.projectContext}}</td>
			<td>{{d.projectCategory.categoryName}}</td>
			<td>{{d.projectCategory.secondCategoryName}}</td>
			<td>{{d.projectCategory.thirdCategoryName || ""}}</td>
			<td>{{d.priorityStatus || ""}}</td>
			<td style="width: 80px;">{{d.priorityId || ""}}</td>
			<td style="width: 300px;">{{d.priorityComment || ""}}</td>
			<td class="td-manage" style="width: 180px;">

				<!--<a title="项目详情"  class="layui-btn layui-btn-sm layui-btn-primary lookApplyInfo" data-id="{{d.id}}" href="javascript:;">项目详情</a>-->

				<a title="推优" class="layui-btn layui-btn-sm layui-btn-warm givePriority " data-id="{{d.id}}" href="javascript:;">推优</a>
			</td>

		</tr>
	</script>

	<body>
		<div class="page_header">
			<span>工作台</span>
			<span class="line">/</span>
			<span>我的推优项目</span>
		</div>
		<div class="page_h5 declaredProject_h5">
			<div class="layui-card-body layui-table-body layui-table-main">
				<table class="layui-table">
					<thead>
						<tr>
							<th>申报人</th>
							<th>项目名称</th>
							<th>项目概述</th>
							<th>一级目录</th>
							<th>二级目录</th>
							<th>三级目录（研究内容）</th>
							<th>推优状态</th>
							<th>推优码</th>
							<th>推优建议</th>
							<th style="width: 180px;">操作</th>
						</tr>
					</thead>
					<tbody class="projectList">

					</tbody>
				</table>
				<div id="pagination" class="clearfix"></div>
			</div>
		</div>

		<div class="modal JR_hide" id="myModal">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">×</button>
						<h4 class="modal-title">推优项目详细信息</h4>
					</div>

					<div class="modal-body">
						<input type="hidden" class="projectId">
						<div class="layui-collapse">
							<div class="layui-colla-item">
								<h2 class="layui-colla-title">申请人信息</h2>
								<div class="layui-colla-content layui-show">
									<div class="layui-form-item">
										<label class="layui-form-label">姓名</label>
										<div class="layui-input-block">
											<input type="text" class="layui-input name " name="name" required lay-verify="required" placeholder="" autocomplete="off" disabled>
										</div>
									</div>
									<div class="layui-form-item">
										<label class="layui-form-label">性别</label>
										<div class="layui-input-block">
											<input type="text" class="layui-input sex " name="sex" required lay-verify="required" placeholder="" autocomplete="off" disabled>
										</div>
									</div>
									<div class="layui-form-item">
										<label class="layui-form-label">头像</label>
										<div class="layui-input-block">
											<img class="photo" width="200">
										</div>
									</div>
									<div class="layui-form-item">
										<label class="layui-form-label">户籍所在地</label>
										<div class="layui-input-block">
											<input type="text" class="layui-input registeredAddress " name="registeredAddress" required lay-verify="required" placeholder="" autocomplete="off" disabled>
										</div>
									</div>
									<div class="layui-form-item">
										<label class="layui-form-label">联系地址</label>
										<div class="layui-input-block">
											<input type="text" class="layui-input liveAddress " name="liveAddress" required lay-verify="required" placeholder="" autocomplete="off" disabled>
										</div>
									</div>
								</div>
							</div>
							<div class="layui-colla-item">
								<h2 class="layui-colla-title">项目信息</h2>
								<div class="layui-colla-content layui-show">
									<div class="layui-form-item">
										<label class="layui-form-label">项目名称</label>
										<div class="layui-input-block">
											<input type="text" class="layui-input projectName " name="projectName" required lay-verify="required" placeholder="" autocomplete="off" disabled>
										</div>
									</div>

									<!--<div class="layui-form-item">-->
										<!--<label class="layui-form-label">项目分类</label>-->
										<!--<div class="layui-input-block">-->
											<!--<input type="text" class="layui-input categoryName" disabled>-->
										<!--</div>-->
									<!--</div>-->

									<div class="layui-form-item">
										<label class="layui-form-label">项目概述</label>
										<div class="layui-input-block">
											<textarea class="layui-textarea projectContext " name="projectContext" required lay-verify="required" placeholder="" maxlength="1000" disabled></textarea>
										</div>
									</div>


									<!--<div class="layui-form-item">-->
										<!--<label class="layui-form-label">图片介绍</label>-->
										<!--<div class="layui-input-block appendixDiv">-->


										<!--</div>-->
									<!--</div>-->
									<div class="layui-form-item">
										<label class="layui-form-label">产品服务</label>
										<div class="layui-input-block">
											<textarea class="layui-textarea serviceComment " name="serviceComment" required lay-verify="required" placeholder="" maxlength="500" disabled></textarea>
										</div>
									</div>

									<div class="layui-form-item">
										<label class="layui-form-label">市场用户</label>
										<div class="layui-input-block">
											<textarea class="layui-textarea marketUserComment " name="marketUserComment" required lay-verify="required" placeholder="" maxlength="500" disabled></textarea>
										</div>
									</div>

									<div class="layui-form-item">
										<label class="layui-form-label">商业模式</label>
										<div class="layui-input-block">
											<textarea class="layui-textarea businessPattern " name="businessPattern" required lay-verify="required" placeholder="" maxlength="500" disabled></textarea>
										</div>
									</div>

									<div class="layui-form-item">
										<label class="layui-form-label">项目来源</label>
										<div class="layui-input-block">
											<textarea class="layui-textarea runData " name="runData" required lay-verify="required" placeholder="" maxlength="500" disabled></textarea>
										</div>
									</div>

									<div class="layui-form-item">
										<label class="layui-form-label">亮点和使用的设计工具</label>
										<div class="layui-input-block">
											<textarea class="layui-textarea coreResource " name="coreResource" required lay-verify="required" placeholder="" maxlength="500" disabled></textarea>
										</div>
									</div>
									<div class="layui-form-item">
										<label class="layui-form-label">商业计划书</label>
										<div class="layui-input-block">
											<div id="previewBp"></div>
										</div>
									</div>
								</div>
							</div>
							<div class="layui-colla-item">
								<h2 class="layui-colla-title">申报的目录信息</h2>
								<div class="layui-colla-content layui-show">
									<div class="layui-form-item">
										<label class="layui-form-label" >一级目录</label>
										<div class="layui-input-block" >
											<input type="text" class="layui-input categoryName" disabled>
										</div>
									</div>
									<div class="layui-form-item">
										<label class="layui-form-label" >二级目录</label>
										<div class="layui-input-block" >
											<input type="text" class="layui-input secondCategoryName" disabled>
										</div>
									</div>

									<div class="layui-form-item">
										<label class="layui-form-label" >三级目录（研究内容）</label>
										<div class="layui-input-block" >
											<textarea class="layui-textarea thirdCategoryName save_val" name="thirdCategoryName" required lay-verify="required" placeholder="" maxlength="1000" disabled></textarea>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="modal-footer">
						<div class="layui-btn layui-btn-primary">关闭</div>
						<div class="layui-btn layui-btn-normal" id="toGivePriority">去推优</div>
					</div>
				</div>
			</div>
		</div>


		<div class="modal JR_hide" id="priorityModal">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close">×</button>
						<h4 class="modal-title">我要推优</h4>
					</div>

					<div class="modal-body">
						<form class="layui-form" action="" id="addNewPriorityForm">
							<input type="hidden" class="save_val id" name="id" value="" />
							<input type="hidden" class="save_val applyId" name="applyId" value="">
							<input type="hidden" class="save_val academistId" name="academistId" value="">
							<div class="layui-form-item">
								<label class="layui-form-label" >推优建议</label>
								<div class="layui-input-block" >
									<textarea class="layui-textarea comment save_val" name="comment" required lay-verify="required" placeholder="" maxlength="1000"></textarea>

								</div>
							</div>

						</form>
					</div>

					<div class="modal-footer">
						<div class="layui-btn layui-btn-primary" id="cancelAddNewPriority">取消</div>
						<div class="layui-btn layui-btn-normal deletePriority" id="deletePriority" style="display: none;">取消推优</div>
						<div class="layui-btn layui-btn-normal" id="submitNewPriority">提交</div>
					</div>
				</div>
			</div>
		</div>
		<script src="../commonJs/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../lib/pdfobject.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="declaredProject.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>
